package org.pattern.pipeline;

public abstract class ValveBase implements Valve {
    private Valve next;

    @Override
    public Valve getNext() {
        return next;
    }

    @Override
    public void setNext(Valve next) {
        this.next = next;
    }

    public abstract void invoke(String s);
}
